package com.bbc.service.product;

import java.util.List;

import com.bbc.base.BaseMessage;
import com.bbc.entity.product.Product;
import com.bbc.entity.product.ProductQuery;
import com.bbc.entity.user.User;

public interface ProductService {
	
	Integer addProduct(Product product);
	List<Product> findProduct(ProductQuery query,int page, int pageSize);
	void updateProduct(Product product);
	Product findProductById(Integer id);
	Product findProductByNumIid(Long numIid, String fromKey);
	BaseMessage addProductFromTBApi(Long numIid,User u,Integer showType);
	Integer findProductCount(ProductQuery query);

}
